#ifndef QDATETIMEEDITHOST_H
#define QDATETIMEEDITHOST_H

#include "qabstractspinboxhost.h"

#include <QDateTime>

namespace SHAREDLIB
{

    class SHAREDLIB_EXPORT QDateTimeEditHost : public QAbstractSpinBoxHost
    {
        Q_OBJECT
    public:
        QDateTimeEditHost(QObject *object);
    public slots:
        void    setDateTime(int year,int month,int day,int hour,int minute,int second);
        int     year();
        int     month();
        int     day();
        int     hour();
        int     minute();
        int     second();

        void    setCurrentSection(int currentSection);
        int     currentSection();
    protected slots:
        void	dateTimeChanged(const QDateTime &datetime);
    };

}


#endif // QDATETIMEEDITHOST_H
